package com.taotao.sso.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转
 * @author Administrator
 *
 */
@Controller
public class PageController {

    //return location.href = "http://localhost:8088/page/login";
	@RequestMapping("/page/{page}")
	public String showPage(@PathVariable String page,String url,Model model) {
		model.addAttribute("redirect", url);
		return page;
	}
	
}
